# 使用官方 Python 运行时作为父镜像
FROM python:3.10-slim

# 设置工作目录
WORKDIR /app

# 复制当前目录下的所有文件到容器的工作目录
COPY . /app

RUN pip install --no-cache-dir -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple numpy

# 运行应用
ENTRYPOINT ["python", "generator.py"]
CMD ["实验室", "夏季", "1"]

#CMD ["python", "part1.py", "实验室", "夏季"]
#CMD ["python", "part1.py", "实验室", "冬季"]
#CMD ["python", "part1.py", "家庭", "夏季"]
#CMD ["python", "part1.py", "家庭", "冬季"]
#CMD ["python", "part1.py", "温室", "夏季"]
#CMD ["python", "part1.py", "温室", "冬季"]